package by.dvrudenko.avtobaza.webapp.page.contacts;



import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.Model;
import org.wicketstuff.gmap.GMap;
import org.wicketstuff.gmap.api.GIcon;
import org.wicketstuff.gmap.api.GLatLng;
import org.wicketstuff.gmap.api.GMarker;
import org.wicketstuff.gmap.api.GMarkerOptions;
import org.wicketstuff.gmap.event.ClickListener;

import by.dvrudenko.avtobaza.webapp.page.BaseLayout;
import by.dvrudenko.avtobaza.webapp.page.createOrder.createOrderPage;
import by.dvrudenko.avtobaza.webapp.page.createOrder.userOrderMap;

public class ContactsPage extends BaseLayout {

	// доработать
	@Override
	protected void onInitialize() {
		super.onInitialize();
		
		final userOrderMap map = new userOrderMap("map");
		add(map);
		
		GIcon gI= new GIcon();
		
		GMarkerOptions gOption = new GMarkerOptions(map, map.latLng , "наша компания");
		GMarker gM = new GMarker(gOption);
		map.addOverlay(gM);


	}
}
